import type { IUserData } from '@/types'
import { defineStore } from 'pinia'

export default defineStore(
  'user',
  {
    state: (): IUserData => {
      return {}
    },
    getters: {},
    actions: {}
  },
  {
    persist: {
      key: 'user',
      storage: localStorage
    }
  }
)
